<?php

class Controller {

    private $load;
    private $model;

    public function __construct()
    {
	// Initialisation
	$this->load = new Load();
	$this->model = new Model();
	$action = null;
	
	// Get the action do to
	if (isset($_GET['action']))
	{
	    $action = htmlentities($_GET['action'], ENT_QUOTES, "UTF-8");
	}
	// Routing to the right function
	switch ($action)
	{
	    case null :
		$this->home();
		break;
	    default :
		$this->home();
		break;
	}
    }

    private function home()
    {
	
    }

}
